#coding=utf-8
from django.contrib import admin
from PublicTool.BaseAdmin import UserModelAdmin
import models


__author__ = 'czq'


#class VisitPermAdmin(UserModelAdmin):
#    #fields = ('name','nameEnglish','nameShort',)
#    exclude = ('addUser','site',)
#
#admin.site.register(models.VisitPerm,VisitPermAdmin)

class BbsClassTypeAdmin(UserModelAdmin):
    exclude = ['addUser','site',]
    #fields = ('name','nameEnglish','nameShort',)
    #fields = ('name',)
admin.site.register(models.BbsClassType,BbsClassTypeAdmin)

class BbsThemeTypeAdmin(UserModelAdmin):
    #fields = ('name','nameEnglish','nameShort',)
    #fields = ('name',)
    exclude = ['addUser']
admin.site.register(models.BbsThemeType,BbsThemeTypeAdmin)